import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    theme:'roma'
  },
  getters: {
  },
  mutations: {
    change(state,isOn){
      if(isOn){
        state.theme='roma'
      }else{
        state.theme='dark'
      }
    }
  },
  actions: {
  },
  modules: {
  }
})
